import Request from '@/utils/request/request-util';

/**
 * 后台管理 -审批人api-delete by caoxf 2023-11-21
 *
 */
export class StationApi {
  /**
   *新增
   */
  static add(params) {
    return Request.post('/station/add', params);
  }

  /**
   *获取配置
   */
  static config(params) {
    return Request.get('/station/config', params);
  }

  /**
   *修改详情
   */
  static detail(params) {
    return Request.get('/station/detail', params);
  }

  /**
   *修改
   */
  static edit(params) {
    return Request.post('/station/edit', params);
  }

  /**
   *删除
   */
  static delete(params) {
    return Request.post('/station/delete', params);
  }

  /**
   *批量删除
   */
  static batchDelete(params) {
    return Request.post('/station/batchDelete', params);
  }
}
